/**
 * 
 */
package com.mvc.service.vo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mvc.dao.mapper.vo.*;
import com.mvc.framework.constant.GlobalConstant;
import com.mvc.model.vo.*;
import com.mvc.service.vo.*;

/**
 * time:2015-09-16 9:57am
 * @author qingjie
 * @see com.service.HealthPressureService#insertHealthPressure(com.vo.HealthPressure)
 */
@Service
public class HealthPressureImpl implements HealthPressureService {

	@Autowired
	private HealthPressureDao healthPressureDao;
	@Override
	public void insertHealthPressure(HealthPressure healthPressure) {
		switch (GlobalConstant.systemType) {
		case 0:
			healthPressureDao.insertHealthPressure(healthPressure);
			break;
		case 1:
			healthPressureDao.insertBloodPressure(healthPressure);
			break;
		default:
			break;
		}

	}

}
